<%@ page language="java" contentType="text/html; charset=utf-8"%>
<%@ include file="/commons/taglibs.jsp"%>
<html>
<head>
<link href="${ctx}/styles/extremetable/extremecomponents.css" type="text/css" rel="stylesheet" />
<link href="${ctx}/styles/extremetable/style.css" type="text/css" rel="stylesheet" />
<link href="${ctx}/styles/listTable.css" rel="stylesheet" type="text/css">
<link href="${ctx}/styles/grid.css" rel="stylesheet" type="text/css">
<link href="${ctx}/styles/aux_window.css" rel="stylesheet" type="text/css">
<link href="${ctx}/styles/public.css" rel="stylesheet" type="text/css">

<script language="JavaScript" type="text/javascript" src="${ctx}/scripts/public.js"></script>
<script language="JavaScript" type="text/javascript" src="${ctx}/scripts/public3.js"></script>
<script language="JavaScript" type="text/javascript" src="${ctx}/scripts/rightmenu2.js"></script>
<script language="JavaScript" type="text/javascript" src="${ctx}/scripts/global.js"></script>
<script language="JavaScript"  src="${ctx}/scripts/show.js"></script>

<link rel="stylesheet" type="text/css" href="${ctx}/scripts/div/css/window.css" />
<script language="JavaScript" type="text/javascript" src="${ctx}/scripts/div/common.js"></script>
<script type="text/javascript" src="${ctx}/scripts/div/window.js"></script>

<script language="JavaScript" type="text/javascript" src="${ctx}/scripts/extremetable/extremecomponents.js"></script>
<script language="JavaScript">
var flag_button_click=true;
var lesseehouseIndex = null;
function setSize() {
  parent.window.document.all('lesseeHouseList').style.height=document.body.scrollHeight;
}
function rightMenue(event)
{
	event.returnValue = false;
	ShowContextMenu(event,'quick_rightmenu');


}


function setVar2(indexID){

		parent.setVar2(indexID);
}





</script>
</head>
<body leftmargin="0" onload="setSize();">

<ec:ceTable items="lesseeHouseList"
	action="${ctx}/customer_lesseeAction.do?method=findLesseeHouseCachePage"
	var="lesseeHouseItem"
	view="pmsview"
	styleClass="gridData2"
	rowsDisplayed="5">
	<ec:ceRow styleClass="grid" onclick="setVar2('${lesseeHouseItem.index}');" onContextMenu="rightMenue(event);">
		<ec:ceColumn headerCell="pmsHeadrCell" title="房号" property="houseNumber" value="${lesseeHouseItem.houseNumber}"  width="9%"/>
		<ec:ceColumn headerCell="pmsHeadrCell" title="业主姓名" property="ownerName" value="${lesseeHouseItem.ownerName}" width="9%"/>
	</ec:ceRow>
</ec:ceTable>
<div id="quick_rightmenu" style="display:none;z-index:9999;" oncontextmenu="return false" class="quick_rightmenu">
  <table width="100%" border="0" cellpadding="1" cellspacing="0" class="grid_quickMenu_bg" onMouseOver="showmy2menu('quick_rightmenu')"  onMouseOut="hidden2menu('quick_rightmenu')">
    <tr>
      <td><table width="100%" border="0" cellpadding="2" cellspacing="0">
         <tr>
          <td class="quickMenu_toolbarico">
		  <a href="#"  onClick="parent.openAddHouse();" onfocus="this.blur()">
<img src="${ctx}/images/ico_newfile.gif" alt="" width="16" height="16" border="0" align="absbottom"> 新 建</a></td>
          </tr>


        <tr>
          <td class="quickMenu_toolbarico"><a href="#" onClick="parent.openHouseDelete();" onFocus="this.blur()"><img src="${ctx}/images/ico_delete.gif" alt="" width="16" height="16" border="0" align="absbottom"> 删
              除</a></td>
          </tr>

      </table></td>
    </tr>
  </table>
</div>

</body>
</html>